package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.EvaluateMapper;
import com.rongke.model.CommentResponse;
import com.rongke.model.Evaluate;
import com.rongke.service.EvaluateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @EvaluateServiceImpl
 * @商品评价ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class EvaluateServiceImpl extends ServiceImpl<EvaluateMapper, Evaluate> implements EvaluateService {
    @Autowired
    private EvaluateMapper evaluateMapper;


    @Override
    public List<CommentResponse> selectLimitedCommentsByGoodsId(Map map) {
        return evaluateMapper.selectLimitedCommentsByGoodsId(map);
    }
}
